// AntXDlg.h : header file
//

#pragma once
#include "resource.h"
#include "afxwin.h"
#include "GraphicArea.h"
#include "ColorSelArea.h"
#include "AlgoritmHandler.h"


// CAntXDlg dialog
class CAntXDlg : public CDialog
{
// Construction
public:
	CAntXDlg(CWnd* pParent = NULL);	// standard constructor

// Dialog Data
	enum { IDD = IDD_ANTX_DIALOG };

	protected:
	virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV support


// Implementation
protected:
	HICON m_hIcon;

	// Generated message map functions
	virtual BOOL OnInitDialog();
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	DECLARE_MESSAGE_MAP()
public:
	GraphicArea m_GraphicArea;
	AlgoritmHandler GlobalAlgorithmHandler;
	afx_msg void OnLButtonDown(UINT nFlags, CPoint point);

private:
	ColorSelArea mNodeColor;
	ColorSelArea mLineColor;
public:
	afx_msg void OnBnClickedButtonloadxml();
	afx_msg void OnBnClickedButtonStart();
	int mStartNode;
	int mEndNode;
	int mAntCount;
	int mItCount;
	float mAlpha;
	float mBeta;
	float mROU;
	float mQ;
	int mForbiddenNode;
	CListBox mForbiddenList;
	afx_msg void OnBnClickedButtonadd();
	afx_msg void OnBnClickedButtonclr();
};
